<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="lib/layui/css/layui.css">
    <link rel="stylesheet" href="/css/base.css">
</head>
<body>
<div class="layui-fluid">
    <a href="popup.html" class="layui-badge">返回</a>
    <blockquote class="layui-elem-quote" style="margin-top: 10px;">
        <p>输入即保存</p>
        <p>您的数据只保存在本地缓存中，如果清空缓存需要重新配置</p>
    </blockquote>

    <form class="layui-form layui-form-pane" lay-filter="form">
        <div class="layui-form-item">
            <label class="layui-form-label">AccessKey</label>
            <div class="layui-input-block">
                <input type="text" name="ak" required  lay-verify="required" placeholder="AccessKey" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">SecretKey</label>
            <div class="layui-input-block">
                <input type="text" name="sk" required  lay-verify="required" placeholder="SecretKey" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">空间名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" required  lay-verify="required" placeholder="空间名称" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">域名</label>
            <div class="layui-input-block">
                <input type="text" name="domain" required  lay-verify="required" placeholder="请加上http或者https" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">路径</label>
            <div class="layui-input-block">
                <input type="text" name="path" placeholder="/img/" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">重命名</label>
            <div class="layui-input-block">
                <select name="rename" id="rename" lay-filter="select">
                    <option value="0">不重命名</option>
                    <option value="1">以时间戳命名</option>
                    <option value="2">以年月日时分秒命名</option>
                </select>
            </div>
        </div>

    </form>
</div>
<script src="lib/layui/layui.js"></script>
<script src="js/config.js"></script>
</body>
</html>
